#ifndef ADDMIDDLEGROUPDIALOG_H
#define ADDMIDDLEGROUPDIALOG_H

#include <QDialog>

namespace Ui {
class addMiddleGroupDialog;
}

class addMiddleGroupDialog : public QDialog
{
    Q_OBJECT
    
public:
    explicit addMiddleGroupDialog(QWidget *parent = 0);
    ~addMiddleGroupDialog();
    
    QString middleGroupName = "新建中间组";  //中间组名称
    
    uchar middleGroupNum = 0;  //中间组数量
    
    enum MiddleGroupType {TOP,ADD,BEGIN};  //充值、追加、起始值
    
    uchar middleGroupBeginValue = 0;  //中间组起始值
    
private slots:
    void on_OKBtn_clicked();
    
private:
    Ui::addMiddleGroupDialog *ui;
};

#endif // ADDMIDDLEGROUPDIALOG_H
